package June12;

public class Car {
	String tyre;
	String farme;
	String baseplate;
	String brand;
	double price;
	String color;

	Engine a = new Engine();

	public void show() {
		System.out.println("汽车品牌：" + brand);
		System.out.println("汽车轮胎：" + tyre);
		System.out.println("汽车车架：" + farme);
		System.out.println("汽车价格：" + price);
		System.out.println("汽车颜色：" + color);
		System.out.println("汽车底盘：" + baseplate);
		System.out.print("汽车发动机：");
		a.show();
	}

	public void start() {
		a.work1();
		a.work2();
		a.work3();
		a.work4();
		System.out.println("启动成功。安全出行。");
	}

	public void noise() {
		System.out.println("滴滴");
	}

	public void stop() {
		System.out.println("汽车已停稳，请按启动键熄火");
		System.out.println("熄火成功，请关好车门车窗。");
	}
}
